<?php

include"conn.php";
 //第三步执行SQL
$id=isset($_GET['id'])?$_GET['id']:0;
$sql="delete from notes where id=$id";
$rs=$mylink->query($sql);//$rs如果成功，rs为真   如果失败   rs为假